const { defineConfig } = require("@vue/cli-service");

const proxy = {
  "/tdengine": {
    target: "http://172.26.60.32:6041",
    ws: true,
    changeOrigin: true,
    pathRewrite: { "^/tdengine": "" },
  },
};

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: proxy,
  },
});
